TInstance
Type of entity
TValue
Type of property
IdeaBlade DevForce 2010 Help Reference
NavigationScalarEntityProperty<TInstance,TValue> Class
Members  See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace : NavigationScalarEntityProperty<TInstance,TValue> Class



A relational entity property for a scalar data type.

Object Model

NavigationScalarEntityProperty<TInstance,TValue> ClassEntityMemberMetadata ClassEntityReferenceStrategy ClassEntityRelationLink Class

Syntax

Visual Basic (Declaration) 
Public Class NavigationScalarEntityProperty
    (Of TInstance As Class,
     TValue As Class) 
   Inherits NavigationEntityProperty
Visual Basic (Usage)Copy Code
Dim instance As NavigationScalarEntityProperty(Of TInstance,TValue)
C# 
public class NavigationScalarEntityProperty<TInstance,TValue> : NavigationEntityProperty 
where TInstance: class
where TValue: class
C++/CLI 
generic<typename TInstance>
generic<typename TValue>
public ref class NavigationScalarEntityProperty : public NavigationEntityProperty 
where TInstance: ref class
where TValue: ref class

Type Parameters

TInstance
Type of entity
TValue
Type of property

Remarks

The EntityProperties auto-generated by the Object Mapper use this strongly-typed declaration for all relational properties having a scalar data type.

Every NavigationScalarEntityProperty has both a GetterInterceptor and SetterInterceptor to which you can inject custom actions. You add these actions using attributes and the AddAction method.

Inheritance Hierarchy

System.Object
   IdeaBlade.EntityModel.EntityProperty
      IdeaBlade.EntityModel.NavigationEntityProperty
         IdeaBlade.EntityModel.NavigationScalarEntityProperty<TInstance,TValue>

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.